* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f2f2f2;
    margin: 0;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #131a22;
    height: 60px;
    padding: 0 20px;
    color: white;
}

.navbar .border {
    border: 1px solid transparent;
    padding: 10px;
}

.navbar .border:hover {
    border-color: white;
}

.nav-logo .logo {
    background-image: url('amazon_logo.jpg'); /* Replace with your logo path */
    background-size: cover;
    height: 50px;
    width: 130px;
}

.nav-address {
    display: flex;
    align-items: center;
    color: white;
}

.nav-address .add-icon {
    margin-right: 5px;
    font-size: 1.5rem;
}

.nav-address .add-text {
    font-size: 0.85rem;
}

.nav-address .add-second {
    font-weight: bold;
}

.nav-search {
    display: flex;
    flex-grow: 2;
    margin-left: 20px;
}

.search-select {
    padding: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border: 1px solid #ddd;
}

.search-input {
    flex-grow: 1;
    padding: 5px;
    border: 1px solid #ddd;
}

.search-icon {
    padding: 5px;
    background-color: #f0c14b;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    cursor: pointer;
}

.nav-language {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.nav-language img {
    width: 20px;
    margin-right: 5px;
}

.nav-signin, .nav-return {
    text-align: center;
}

.nav-cart {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.nav-cart i {
    margin-right: 5px;
    font-size: 1.5rem;
}

/* Panel Section */
.panel{
    height: 40px;
    background-color: #222f3d;
    display: flex;
    color: white;
    align-items: center;
    justify-content: space-evenly;
}

.panel-link{
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    cursor: pointer;
}

.panel-link :hover{
    color: #ffffff;
    border: 2px solid white;
}

.panel-all {
    position: relative;
    display: inline-block;
}

.panel-all .panel-link{
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
}
.panel-all .panel-link :hover{
    color: #ffffff;
    border: 2px solid white;
}

.panel-all .dropdown{
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
}

.panel-all :hover .dropdown{
    display: block;
}

.panel-all .dropdown a{
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    background-color: #0f1111;
}

.panel-all .dropdown a :hover{
    background-color: #232f3e;
}

.dropdown {
    display: none; /* Hidden by default */
    position: absolute;
    background-color: #0f1111;
    color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
}

.menu-toggle{
    display: none;
}

.menu-toggle:checked + .panel-link + .dropdown {
    display: block; /* Show when checked */
}

.dropdown a{
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown a :hover{
    background-color: #232f3e;
}

.options a{
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block ;
}

.options a :hover{
    border: 2px solid white;
}

.options{
    width: 70%;
    font-size: 0.9rem;
}

.panel-deals{
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.diya-image{
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

/* Hero Section */
.hero-section {
    height: 350px;
    display: flex;
    background-image: url('hero_image.jpg');
    background-size: cover;
    margin: 20px 0;
}

/* Shop Section */
.shop-section {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #e2e6e2;
}

.box {
    background-color: white;
    border: 1px solid #ddd;
    height: 400px;
    width: 23%;
    text-align: center;
    padding: 10px;
}

.box .box-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box .box-img {
    width: 100%;
    height: 300px;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box .box-img img{
    width: 100%;
    height: auto;
    max-height: 100%;
}

.box h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.box p {
    color: #007185;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
    }

    .nav-search {
        margin-left: 0;
        margin-top: 10px;
        flex-grow: 1;
    }

    .shop-section {
        flex-direction: column;
    }

    .box {
        width: 300%;
        margin-bottom: 20px;
    }

    .hero-section {
        height: 250px;
    }
}

/* scroll product section */
.scroll-product{
    width: 96%;
    margin: 20px auto;
    background: #ffffff;
    padding: 20px;
}

.scroll-product .products{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    overflow-x: auto;
}

.products ::-webkit-scrollbar{
    height: 8px;
    cursor: pointer;
    background: grey;
}

.products ::-webkit-scrollbar-track{
    border-radius: 10px;
}

.products ::-webkit-scrollbar-thumb{
    border-radius: 10px;
    background: #ffff;
}

.products ::-webkit-scrollbar-thumb :hover{
    background: #b4b2b2;
}

.products img{
    width: 200px;
    margin: 0 20px;
    margin-bottom: 20px;
}

.blockbuster-deals-section {
    background-color: #e4b750;
    padding: 20px;
    margin: 20px 0;
}

.shops-deals-section{
    background-color: white;
    padding: 20px;
    margin: 20px 0;
}

.blockbuster-deals-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.deals-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
}

.deals-container ::-webkit-scrollbar-track{
    border-radius: 10px;
}

.deals-container ::-webkit-scrollbar-thumb{
    background-color: #fff;
    border-radius: 10px;
}

.deals-container ::-webkit-scrollbar-thumb :hover{
    background-color: #b4b2b2;
}

.deal-item {
    background-color: white;
    border: 1px solid #ddd;
    width: 220px;
    flex-shrink: 0;
    margin: 0 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.deal-item:hover {
    transform: scale(1.05);
}

.deal-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.deal-price {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #b12704;
}

.deal-discount {
    font-size: 0.85rem;
    color: #565959;
}

.deal-desc {
    font-size: 0.9rem;
    color: #007185;
}

/** footer **/
.footer{
    margin-top: 15px;
}

.foot-panel1{
    background-color: #37475a;
    color: white;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
}

.foot-panel2{
    background-color: #222f3d;
    color: white;
    height: 300px;
    display: flex;
    justify-content: space-evenly;
}

ul{
    margin-top: 20px;
}

ul a{
    display: block;
    font-size: 0.85rem;
    margin-top: 10px;
    color: #dddddd;
}

.foot-panel3{
    background-color: #222f3d;
    color: white;
    border-top: 0.5px solid white;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo{
    background-image: url('amazon_logo.jpg');
    background-size: cover;
    height: 50px;
    width: 100px;
}
.foot-panel4{
    background-color: #0f1111;
    color: white;
    height: 80px;
    font-size: 0.7rem;
    text-align: center;
}

.pages{
    padding-top: 25px;
}

.copyright{
    padding: 5px;
}

